package com.fanrui.code.entity;

import java.io.Serializable;

import com.fanrui.code.common.annotation.ConfigFile;
import com.fanrui.code.db.jvmdb.IPersistable;

/**
 * @author 
 */
@ConfigFile
public class Parameter implements Serializable,IPersistable<Integer> {
    private Integer id;

    /**
     * 参数名
     */
    private String name;

    /**
     * 值
     */
    private String value;

    /**
     * 注释
     */
    private String parameterInfo;

    /**
     * 拓展字段
     */
    private String explain;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public String getParameterInfo() {
        return parameterInfo;
    }

    public void setParameterInfo(String parameterInfo) {
        this.parameterInfo = parameterInfo;
    }

    public String getExplain() {
        return explain;
    }

    public void setExplain(String explain) {
        this.explain = explain;
    }

	@Override
	public void setPersistKey(Integer id) {
		this.id = id;
	}

	@Override
	public Integer getPersistKey() {
		return id;
	}
}